/*
 *  WObject.cpp
 *  GLRender
 *
 *  Created by Patrick zulian on 5/4/10.
 *  Copyright 2010 University  of Lugano. All rights reserved.
 *
 */

#include "WObject.h"
#include "SoundEngine.h"
#include "Bonus.h"

WObject::WObject(const Point3d &position, const double mass, const double radius)
: _position(position), _mass(mass),  radius(radius), _alive(true), _insideWorld(true)
{


}


void 
WObject::onCollision(WObject * from) { 
	Q_UNUSED(from); 
	//printf("\tCOLLISION [%g %g %g] <> [%g %g %g] \n", 
//		   _position[0], _position[1], _position[2], 
//		   from->position()[0],  from->position()[1],  from->position()[2] );

}

void
WObject::applyBonus (Bonus *b) { 
	Q_UNUSED(b);
}